

/* ========================= NUMBER INPUT PFEILE ENTFERNEN ========================= */ /* Chrome, Edge, Safari, Opera */ .score-input-wrapper input::-webkit-outer-spin-button, .score-input-wrapper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } /* Firefox */ .score-input-wrapper input[type="number"] { -moz-appearance: textfield; appearance: textfield; }


/* =========================
   DART CHECKOUT
========================= */

.dart-checkout {
  width: 100%;
  padding: 80px 20px;
  box-sizing: border-box;

  color: #fff;

  font-family: Arial, Helvetica, sans-serif;

  box-sizing: border-box;

  background-image: url("/Header6/thumb_DART/Dart_hero1.jpeg");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;

}

.checkout-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
    background: transparent;

}


/* =========================
   TITEL
========================= */

.checkout-title {
  text-align: center;
  margin-bottom: 50px;
}

.checkout-title span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 5px;
  opacity: 0.5;
}

.checkout-title h1 {
  margin: 12px 0;
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 900;
}

.checkout-title p {
  margin: 0;
  font-size: 18px;
  opacity: 0.6;
}


/* =========================
   EINGABE
========================= */

.checkout-display {
  max-width: 500px;
  margin: 0 auto 60px;
  text-align: center;
}

.checkout-display label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  opacity: 0.5;
}

.score-input-wrapper {
  display: flex;
  justify-content: center;
}

.score-input-wrapper input {
  width: 100%;
  max-width: 400px;

  padding: 15px 20px;
  box-sizing: border-box;

  /* Input ebenfalls transparent */
  background: rgba(255, 255, 255, 0.08);

  color: #fff;

  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;

  font-size: clamp(50px, 8vw, 90px);
  font-weight: 900;
  text-align: center;

  outline: none;

  transition: border-color 0.2s, background 0.2s;
}

.score-input-wrapper input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}



/* =========================
   CHECKOUT BUTTON
========================= */

.checkout-display button {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-top: 20px;
  padding: 18px 25px;

  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.95);
  color: #111;

  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;

  cursor: pointer;
  overflow: hidden;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}


/* Licht-Effekt über dem Button */

.checkout-display button::before {
  content: "";
  position: absolute;

  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );

  transform: skewX(-20deg);

  transition: left 0.5s ease;
}


/* HOVER */

.checkout-display button:hover {
  transform: translateY(-4px) scale(1.02);

  background: #fff;

  box-shadow:
    0 8px 25px rgba(255, 255, 255, 0.15),
    0 0 30px rgba(255, 255, 255, 0.12);
}


/* Licht fährt über den Button */

.checkout-display button:hover::before {
  left: 140%;
}


/* CLICK / PRESS */

.checkout-display button:active {
  transform: translateY(1px) scale(0.97);

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3);
}


/* FOCUS */

.checkout-display button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}



/* =========================
   ERGEBNIS
========================= */

.checkout-result {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 80px;

  padding: 50px 30px;

  /* TRANSPARENT */
  background: transparent;

  /* Dezenter Rahmen */
  border: 1px solid rgba(255, 255, 255, 0.25);

  border-radius: 20px;
}


/* =========================
   RESTSCORE
========================= */

.result-score {
  text-align: center;
}

.result-score span,
.result-route > span {
  display: block;

  margin-bottom: 10px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;

  opacity: 0.5;
}

.result-score strong {
  display: block;

  font-size: clamp(80px, 12vw, 150px);
  line-height: 0.9;

  font-weight: 900;
}


/* =========================
   CHECKOUT ROUTE
========================= */

.result-route {
  text-align: center;
}

.route {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  flex-wrap: wrap;
}

.dart-field {
  min-width: 90px;

  padding: 20px 15px;

  box-sizing: border-box;

  /* Transparente Dart-Felder */
  background: rgba(255, 255, 255, 0.06);

  border: 2px solid rgba(255, 255, 255, 0.3);

  border-radius: 12px;

  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;

  text-align: center;
}

.dart-field.bull {
  border-color: #fff;
}

.arrow {
  font-size: 30px;
  opacity: 0.4;
}


/* =========================
   FEHLER
========================= */

.no-checkout {
  max-width: 500px;

  margin: 0 auto;

  text-align: center;

  font-size: 22px;
  line-height: 1.5;
}

.no-checkout strong {
  display: block;

  margin-bottom: 10px;

  font-size: 35px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 800px) {

  .checkout-result {
    flex-direction: column;
    gap: 45px;
  }

}


/* =========================
   SMARTPHONE
========================= */

@media (max-width: 500px) {

  .dart-checkout {
    padding: 50px 15px;
  }

  .checkout-title {
    margin-bottom: 35px;
  }

  .checkout-result {
    padding: 40px 15px;
    gap: 35px;
  }

  .dart-field {
    min-width: 70px;
    padding: 15px 10px;
  }

  .arrow {
    font-size: 20px;
  }

}
